﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="PIMTestSNCategory.aspx.cs" Inherits="PIMTest_PIMTestSNCategory" Title="交调测试数据检索" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <asp:SiteMapPath ID="SiteMapPath1" runat="server">
        </asp:SiteMapPath>
        <br />
        <br />
        <br />
        <p style="text-align: center;">
            产品序列号：<asp:TextBox ID="tbSN" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="tbSN"
                ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
            <asp:Button ID="buSelect" runat="server" Text="查　询" ValidationGroup="VGroup1" OnClick="buSelect_Click" />
        </p>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
            CellSpacing="1" DataKeyNames="ProductSN,MOID,PIMRecordTime,ProductTypeID,UserID,UserID2,PIM_ENAID,PIMTestStep,PIMLimite,MaxPIMValue,DarkroomNum,PIMPass,PIMShiftTime,MaxPIMValueSection"
            EmptyDataText="没有相关数据！" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging"
            OnSelectedIndexChanged="GridView1_SelectedIndexChanged" PageSize="20" Width="100%">
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <Columns>
                <asp:CommandField SelectText="详细" ShowSelectButton="True" />
                <asp:BoundField DataField="ProductSN" HeaderText="产品序列号" />
                <asp:BoundField DataField="MOID" HeaderText="MO编号" />
                <asp:BoundField DataField="PIMRecordTime" DataFormatString="{0:yyyy-MM-dd HH:mm:ss.fff}" HeaderText="上传时间" />
                <asp:BoundField DataField="ProductTypeID" HeaderText="产品代码" />
                <asp:BoundField DataField="UserID" HeaderText="测试员" />
                <asp:BoundField DataField="UserID2" HeaderText="测试员2" />
                <asp:BoundField DataField="PIM_ENAID" HeaderText="设备编号" />
                <asp:BoundField DataField="PIMTestStep" HeaderText="产品状态" />
                <asp:BoundField DataField="PIMLimite" HeaderText="指标值" />
                <asp:BoundField DataField="MaxPIMValue" HeaderText="测试值" />
                <asp:BoundField DataField="DarkroomNum" HeaderText="暗室编号" />
                <asp:BoundField DataField="PIMPass" HeaderText="是否通过" />
                <asp:BoundField DataField="PIMShiftTime" HeaderText="班次" />
                <asp:BoundField DataField="MaxPIMValueSection" HeaderText="测试区间范围" />
            </Columns>
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:GridView>
        <br />
        <br />
        <br />
        <br />
        <br />
    </div>
</asp:Content>
